package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;
import java.util.ArrayList;

public class CataOrganizationItem extends AppItem implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** 机构id */
	private String id;
	/** 机构名称 */
	private String seller_name;
	/** 机构logo */
	private String logo;
	private ArrayList<CataAuctionItem> list;

	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		id = obj.optString("id");
		seller_name = obj.optString("seller_name");
		logo = obj.optString("logo");
	}

	public ArrayList<CataAuctionItem> getList() {
		return list;
	}

	public void setList(ArrayList<CataAuctionItem> list) {
		this.list = list;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSeller_name() {
		return seller_name;
	}

	public void setSeller_name(String seller_name) {
		this.seller_name = seller_name;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	@Override
	public String toString() {
		return "AuctioncatalogueItem [id=" + id + ", seller_name="
				+ seller_name + ", logo=" + logo + "]";
	}

}
